package com.example.core.util;

/**
 * @ClassName Result
 * @Author zhangzhaoyang
 * @Date 2019/10/17 15:49
 * 用来返回页面的参数
 **/
public class Result {
//    状态码
    private Integer code;
//    消息
    private String message;
//    数据对象
    private String result;

    private Object data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
